﻿using System.Diagnostics;
using System.ServiceProcess;
using System.Threading;

namespace TestService
{
    public partial class TestService : ServiceBase
    {
        public TestService()
        {
            InitializeComponent();
        }

        protected override void OnStart(string[] args)
        {
            Trace.WriteLine("Starting");
            Thread.Sleep(1000);
        }

        protected override void OnStop()
        {
            Trace.WriteLine("Stopping");
            Thread.Sleep(1000);
        }
    }
}
